#pragma once
#include "precomp.h"
#include "Vector3.h"

class Particle
{
public:

	float mass;
	Vector3f force;
	Vector3f velocity;
	Vector3f position;
	enum STATES { FALLING, COLLIDING, SLIDING };

	int state;

	//time to live
	int ttl;

	//particle color
	CL_Colorf color;

	Particle(void);
	Particle(const Particle& other);
	Particle(float _mass, Vector3f _force, Vector3f _velocity, Vector3f _position, int _ttl, CL_Colorf _color = CL_Colorf::white);
	~Particle(void);
};

